<ul id="sidenav">
  {pc:content  action="lists" catid="23" order="id ASC" num="10"}
    {loop $data $r}
      {if $r[id]==$id}
        <li class='current'><a href="{APP_PATH}{php echo preg_replace('/^http:\/\/[\d\D]+\//',"",$r['url']);}" target="_blank">
        {$r[title]}
        </a></li>
      {else}
        <li>
        <a href="{APP_PATH}{php echo preg_replace('/^http:\/\/[\d\D]+\//',"",$r['url']);}">
        {$r[title]}
        </a></li>
      {/if}
    {/loop}
  {/pc}
</ul>